<?php

namespace app\model;

use think\facade\Db;

class UserModel
{

    public static function seletUserById($id){
        return Db::name('user')->where('id',$id)->find();
    }

}